package com.copa.module.goods.mapper;

import com.copa.module.goods.domain.entity.CategoryEntity;
import com.copa.module.goods.domain.dto.CategoryListDto;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-14
 * @function   t_category表 Mapper 接口
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

    List<CategoryListDto> indexList();

    List<CategoryListDto> list();

}
